Skip to content

Bump ulimit -n value for containerized Jobs#1089

Merged
egibs merged 2 commits into
chainguard-dev:mainfrom
egibs:open-file-limit
Aug 18, 2025
Merged

Bump ulimit -n value for containerized Jobs#1089
egibs merged 2 commits into
chainguard-dev:mainfrom
egibs:open-file-limit

Conversation

@egibs

@egibs egibs commented Aug 16, 2025

Copy link
Copy Markdown
Member

We've started seeing regular third-party update failures around too many open files:

💣 test data refresh failed: refresh sample data for tests/macOS/2024.CryptoNews/CryptoNews-PR-Agreement.simple: process: failed to handle error for path out/chainguard-dev/malcontent-samples/macOS/2024.CryptoNews/CryptoNews-PR-Agreement: error type not FileReportError: open out/chainguard-dev/malcontent-samples/macOS/2024.CryptoNews/CryptoNews-PR-Agreement: too many open files

This PR quadruples the limit everywhere for consistency which should give us some breathing room.

Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
@egibs egibs requested review from eslerm and stevebeattie August 16, 2025 13:53
@egibs egibs enabled auto-merge (squash) August 16, 2025 13:55

@stevebeattie stevebeattie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine, but I also wouldn't be opposed to bumping it to 16k or 64k.

@egibs egibs merged commit 262ad9a into chainguard-dev:main Aug 18, 2025
11 checks passed
@egibs egibs deleted the open-file-limit branch October 31, 2025 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants